jupyter_wire ~master (2021-04-09T15:16:12Z)
Dub
Repo
Sockets
jupyter
wire
connection
Undocumented in source.
struct
Sockets {
struct
MessageHeader
via
import
jupyter
.
wire
.
message
:
MessageHeader
;
;
import
zmqd
:
Socket
,
SocketType
;
;
import
zmqd
:
Socket
,
SocketType
;
;
import
std
.
json
:
JSONValue
;
;
import
std
.
concurrency
:
Tid
;
;
ConnectionInfo
connectionInfo
;
Socket
shell
;
Socket
control
;
Socket
stdin
;
Socket
ioPub
;
Tid
heartbeatTid
;
struct
Stop
;
struct
Done
;
this
(ConnectionInfo ci);
~this
();
void
send
(Socket socket, Message message);
void
publish
(MessageHeader parentHeader, string msgType, JSONValue content);
void
stdout
(MessageHeader parentHeader, string stdout);
}
Constructors
this
this
(ConnectionInfo ci)
Undocumented in source.
Destructor
~this
~this
()
Undocumented in source.
Members
Functions
publish
void
publish
(MessageHeader parentHeader, string msgType, JSONValue content)
Undocumented in source. Be warned that the author may not have intended to support it.
send
void
send
(Socket socket, Message message)
Undocumented in source. Be warned that the author may not have intended to support it.
stdout
void
stdout
(MessageHeader parentHeader, string stdout)
"Send" stdout output to jupyter notebook
Structs
Done
struct
Done
Undocumented in source.
Stop
struct
Stop
Undocumented in source.
Variables
connectionInfo
ConnectionInfo
connectionInfo
;
control
Socket
control
;
Undocumented in source.
heartbeatTid
Tid
heartbeatTid
;
ioPub
Socket
ioPub
;
Undocumented in source.
shell
Socket
shell
;
stdin
Socket
stdin
;
Undocumented in source.
Meta
Source
See Implementation
jupyter
wire
connection
functions
fileNameToConnectionInfo
maybeReceive
recvRequestMessage
structs
ConnectionInfo
Sockets